<?php

	// +----------------------------------------------------------------------
	// | 附件模块公共控制器
	// +----------------------------------------------------------------------
	// | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.
	// +----------------------------------------------------------------------
	// | Author: 微尘 <yicmf@qq.com>
	// +----------------------------------------------------------------------

	namespace app\controller\file;

	use app\common\controller\Base;
	use app\event\ucenter\User as UserEvent;
	use think\File;

	class Common extends Base
	{
		protected $user;

		protected function initialize()
		{
			parent::initialize();
			$module = explode('/', $this->request->server('HTTP_REFERER'));
			$this->user = UserEvent::getLogin($module[count($module) - 1]);
		}


	}
